package com.karson.service.service;

import com.karson.common.model.UserFavorite;
import com.baomidou.mybatisplus.extension.service.IService;
import com.karson.common.request.FavoriteRecordRequest;
import com.karson.common.request.PageParamRequest;
import com.karson.common.request.UserFavoriteFolderRequest;
import com.karson.common.response.FavoriteAlbumResponse;
import com.karson.common.response.UserFavoriteFolderResponse;
import com.karson.common.vo.PageVo;

import java.util.List;

/**
* @author ZKS
* @description 针对表【ar_user_favorite(用户收藏夹表)】的数据库操作Service
* @createDate 2025-09-04 14:08:51
*/
public interface UserFavoriteService extends IService<UserFavorite> {

    List<UserFavoriteFolderResponse> getFavFolder(Integer messageId);

    UserFavoriteFolderResponse createFolder(UserFavoriteFolderRequest request);

    void addFavorite(FavoriteRecordRequest request);

    PageVo<FavoriteAlbumResponse> getFavorite(PageParamRequest pageParams, Integer folderId);

    Boolean updateFolder(UserFavoriteFolderRequest request);

    List<Integer> getFavoriteFolder(Integer messageId);
}
